package com.mobile.manager.pojo;

/**
 * Created by zhangdi on 16/7/16.
 */
public class ABC{

    public void call() {
        System.out.println("Hello");
    }

    public void f1() throws Exception, IllegalAccessException, ClassNotFoundException {
        B b = new B();
        b.doSome(this);
    }

    public static void main(String[] args) throws IllegalAccessException, ClassNotFoundException, Exception {
        new ABC().f1();
    }
}

class B {

    public void doSome(ABC a) {
        a.call();
    }
}